package org.itstack.demo.netty.domain;

/**
 * 消息协议
 */
public class MsgAgreement {

    private String toChannelId; // 发送给某人，某人ChannelId

    private String content; // 发送内容

    public MsgAgreement() {
    }

    public MsgAgreement(String toChannelId, String content) {
        this.toChannelId = toChannelId;
        this.content = content;
    }

    public String getToChannelId() {
        return toChannelId;
    }

    public void setToChannelId(String toChannelId) {
        this.toChannelId = toChannelId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
